#ifndef COORDINATE_HPP
#define COORDINATE_HPP

struct Coordinate{
	int x, y;
	
	Coordinate() = default;

	Coordinate(int x, int y):x(x), y(y){}

	Coordinate(const Coordinate &coor){
		x = coor.x;
		y = coor.y;
	}

	Coordinate operator+(const Coordinate &coor)const noexcept;

	Coordinate &operator+=(const Coordinate &coor)noexcept;

	Coordinate operator-(const Coordinate &coor)const noexcept;

	Coordinate &operator-=(const Coordinate &coor)noexcept;

	Coordinate operator/(int num)const noexcept;

	Coordinate &operator/=(int num)noexcept;

	Coordinate operator*(int num)const noexcept;

	Coordinate &operator*=(int num)noexcept;

	int operator*(const Coordinate &coor)const noexcept;
	
	bool operator==(const Coordinate &coor)const noexcept;

	bool operator!=(const Coordinate &coor)const noexcept;
};

#endif
